	var c = 0;
	var $fixbufix = $('#project-yanbu-content .project_yanbu_nav .project_yanbu_nav_left'),
	    $fixbufix2 = $('#project-yanbu-content .project_yanbu_nav .project_yanbu_nav_right'),
	    $dingbubtn = $('#project-yanbu-content .huidaodingbu'),
	    $right_list = $('#project-yanbu-content .project_yanbu_nav .project_yanbu_nav_right>li');
	setInterval(function(){

		var scrollheight = $(document).scrollTop();

		if(scrollheight>650&&scrollheight<($(document).height()-1300)){
			$fixbufix.addClass('project_yanbu_nav_left_fixed');
			$fixbufix2.addClass('project_yanbu_nav_right_fixed');
		}else{
			$fixbufix.removeClass('project_yanbu_nav_left_fixed');
			$fixbufix2.removeClass('project_yanbu_nav_right_fixed');
		}
		if(scrollheight>150){
			$dingbubtn.fadeIn(300);
		}else{
			$dingbubtn.fadeOut(300);
		}
	},1);
	$dingbubtn.click(function(event) {
		window.scrollTo(0,0); 
	});
	$right_list.hover(function() {
		c = $(this).index();
	});
	$right_list.click(function(event) {
		$right_list.eq(c).addClass('pjnavright_active').siblings().removeClass('pjnavright_active');
	});
	
	var $pj_jieshao = $('#project-yanbu-content #project_jieshao'),
	    $pj_jiexi = $('#project-yanbu-content #project_jiexi'),
	    $pj_zhuanjia = $('#project-yanbu-content #project_zhuanjia'),
	    $pj_jiage = $('#project-yanbu-content #project_jiage');
    $( window ).scroll(function() {
	    var sctop = $(this).scrollTop();
	    var sctop1= $pj_jieshao.offset().top;
	    var sctop2= $pj_jiexi.offset().top;
	    var sctop3= $pj_zhuanjia.offset().top;
	    var sctop4= $pj_jiage.offset().top;
	    sctop1=sctop1-150;
	    sctop2=sctop2-150;
	    sctop3=sctop3-150;
	    sctop4=sctop4-150;
	    if(sctop>sctop1&&sctop<sctop2){
	        $right_list.eq(0).addClass('pjnavright_active').siblings().removeClass('pjnavright_active');
	    }else if(sctop>sctop2&&sctop<sctop3){
	    	 $right_list.eq(1).addClass('pjnavright_active').siblings().removeClass('pjnavright_active');
	    }else if(sctop>sctop3&&sctop<sctop4){
	    	 $right_list.eq(2).addClass('pjnavright_active').siblings().removeClass('pjnavright_active');
	    }else if(sctop>sctop4){
	    	 $right_list.eq(3).addClass('pjnavright_active').siblings().removeClass('pjnavright_active');
	    }
	    $right_list.eq(0).click(function(event) {
	    	window.scrollTo(0,sctop1);
	    });
	    $right_list.eq(1).click(function(event) {
	    	window.scrollTo(0,sctop2);
	    });
	    $right_list.eq(2).click(function(event) {
	    	window.scrollTo(0,sctop3);
	    });
	    $right_list.eq(3).click(function(event) {
	    	window.scrollTo(0,sctop4);
	    });
    });
